<script setup lang="ts">
import { FormTypeEnum } from "@/constants/other-keys"
import TaskForm from "../component/task-form.vue"

defineOptions({
  // 命名当前组件
  name: "StaticTaskEdit"
})
</script>
<template>
  <div class="app-container">
    <el-card>
      <component :is="TaskForm" :form-type="FormTypeEnum.EDIT" />
    </el-card>
  </div>
</template>
